'use strict'
const visitLogService = require('../services').visitLogService
const visitLogController = {}

// 获取所有分类
visitLogController.visitCountPerDay = async (ctx, next) => {
    const result = await visitLogService.visitCountPerDay({ ...ctx.request.query })
    ctx.result = result
    return next()
}

module.exports = visitLogController
